A Construct for Effectively Implementing Semantic Associations
نویسندگان
چکیده
Associations are a key concept in object-oriented modeling. Implementing purely semantic associations with direct containment can lead to reduced cohesion and increased coupling as well as difficulties with referential integrity. Implementing semantic associations using the constructs shown in this paper will lead to domain objects that are more flexible and reusable. Adding container classes for domain objects and their association objects leads to a high level of traceability between the conceptual model and it’s implementation. 1 THE IMPORTANCE OF ASSOCIATIONS Object-oriented (OO) techniques were specifically developed in order to reduce domain complexity and communication between domain experts and systems developers can understand. OO models the user’s perspective of the system in a semantically meaningful manner that follows human conceptualization. “Object-oriented systems allow the real world to be represented more directly than do conventional ones” [Gottlob96]. Associations play a key role in object-oriented domain modeling. They capture the nature of the domain by depicting relationships among objects. An association is a group of links between instances with common semantics and structure, the key point being an association involves a semantic relationship between two or more classes. Associations can be either static or dynamic in nature. Dynamic interactions depict sending messages or signals between classes. Static structures such as inheritance, aggregation, and composition are also forms of associations. A third category of associations is a purely semantic association. Semantic constructs such as roles and relationships comprise this group. Associations that support semantic constructs are easily modeled in UML, but inconsistently implemented. Semantic associations enrich the understanding of the system by capturing the nature of the domain and, in certain domain constructs, play a key role in the understanding of the system’s conceptual model. A CONSTRUCT FOR EFFECTIVELY IMPLEMENTING SEMANTIC ASSOCIATIONS 102 JOURNAL OF OBJECT TECHNOLOGY VOL. 2, NO. 3 Purely semantic associations are the focus of this article. Dynamic associations and static associations are well understood and implementation is handled through native constructs in nearly all object-oriented languages. Semantic associations are implemented inconsistently, if at all, in development languages which necessarily puts their implementation in the hands of the developer. We will focus on implementing semantic associations and how container classes play a key role in associations. 2 STRUCTURE OF ASSOCIATIONS General Association Concepts An association is by default bidirectional meaning that it can be read from either end with significance. An example is an "is_married_to" association between a class Man and a class Woman. Adding an arrowhead at one end specifies that the association is only navigable in one direction as in Fig. 1. Given a Radar object, the associated Beam objects can be identified, but a Beam object has no reference to the Radar object emitting it.
منابع مشابه
Natural-Language Semantics for Associations
Conceptual models describe an application domain to further communication and understanding, and serve as the basis for subsequent software design and implementation. For a language to be used for conceptual modelling, the semantics of its constructs must be well-defined w.r.t. the application domain. The semantics of the association construct, central to object-oriented modelling languages, ar...
متن کاملA combination of semantic and attribute-based access control model for virtual organizations
A Virtual Organization (VO) consists of some real organizations with common interests, which aims to provide inter organizational associations to reach some common goals by sharing their resources with each other. Providing security mechanisms, and especially a suitable access control mechanism, which enforces the defined security policy is a necessary requirement in VOs. Since VO is a complex ...
متن کاملThe ρ-Operator: Enabling Querying for Semantic Associations on the Semantic Web
Semantic Associations are a class of complex relationships between entities that capture a connectivity of entities or a pattern of entities and relationships between them based on a specific notion of an isomorphism called ρ-isomorphism. In an RDF graph data model, they may represented as sequences (i.e. paths) between entities, networks of sequences, or a subgraph containing ρ-isomorphic sequ...
متن کاملDeveloping a Semantic Similarity Judgment Test for Persian Action Verbs and Non-action Nouns in Patients With Brain Injury and Determining its Content Validity
Objective: Brain trauma evidences suggest that the two grammatical categories of noun and verb are processed in different regions of the brain due to differences in the complexity of grammatical and semantic information processing. Studies have shown that the verbs belonging to different semantic categories lead to neural activity in different areas of the brain, and action verb processing is r...
متن کاملPreferred Lexical Access Route in Persian Learners of English: Associative, Semantic or Both
Background: Words in the Mental Lexicon (ML) construct semantic field through associative and/ or semantic connections, with a pervasive native speaker preference for the former. Non-native preferences, however, demand further inquiry. Previous studies have revealed inconsistent Lexical Access (LA) patterns due to the limitations in the methodology and response categorization. Objectives: To f...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- Journal of Object Technology
دوره 2 شماره
صفحات -
تاریخ انتشار 2003